<include file="Public:head" xmlns:H="http://www.w3.org/1999/xhtml"/>
<style>
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{text-align: left;}
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>订单详情</h5>
            <div class="ibox-tools" style="margin-top: -9px;">
                <a href="javascript:history.go(-1);" class="btn btn-primary"><i class="fa fa-arrow-left"></i> 返回</a>
            </div>
        </div>
        <div class="ibox-content p-xl">
            <div class="row">
                <div class="col-sm-4">
                    <address>
                        <strong>收货人：{$da.user}</strong><br>
                        {$da.address}<br>
                        <abbr title="Phone">联系：</abbr> {$da.mobile}
                    </address>
                </div>
                <div class="col-sm-4 text-left">
                    <address>
                        <strong>订单状态：
                            <switch name="$da.status">
                                <case value="0">待支付</case>
                                <case value="1">已支付</case>
                                <case value="2">处理中</case>
                                <case value="3">已完成</case>
                                <case value="-2">已关闭</case>
                                <default/>未知
                            </switch>
                        </strong><br>
                        下单时间：{$da.create_time|date="Y-m-d H:i:s",###}<br>
                        <abbr title="Phone">支付方式：</abbr>
                        <switch name="$da.pay_type">
                            <case value="1">线上支付</case>
                            <case value="2">线下支付</case>
                            <default/>未知
                        </switch><br/>
                        <if condition="$da.pay_time!=''">
                            支付时间：{$da.pay_time|date="Y-m-d H:i:s",###}
                        </if>
                    </address>
                </div>
                <div class="col-sm-4 text-left">
                    <h4>单据编号：</h4>
                    <h4 class="text-navy">{$da.order_sn}</h4>
                    <address>
                        <strong></strong><br>
                        <!--中国杭州市华星路99号东部软件园创业大厦6层(310099)<br>-->
                        <!--<abbr title="Phone">总机：</abbr> (86) 571-8502-2088-->
                    </address>
                    <p>
                        <span><strong>完成日期：</strong>{$da.finish_time|} </span>
                    </p>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <strong>备注：</strong>{$da.preference}
                </div>
            </div>

            <div class="table-responsive m-t">
                <table class="table invoice-table">
                    <thead>
                    <tr>
                        <th>店铺</th>
                        <th>清单</th>
                        <th>单价</th>
                        <th>数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="$da.gd" id="vo">
                        <tr>
                            <td>{$vo.circle_name}</td>
                            <td>{$vo.goods_name}</td>
                            <td>¥{$vo.goods_price}</td>
                            <td>{$vo.goods_num}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
            <!-- /table-responsive -->

            <table class="table invoice-total">
                <tbody>
                <tr>
                    <td><strong>总计</strong>
                    </td>
                    <td>¥{$da.total_price}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <!-- End Panel Basic -->
</div>


</body>

</html>